package com.buba.customer.pojo;

import java.math.BigDecimal;

/**
 * 用户详细信息实体类
 * 用户详细表和用户登陆表的关系  一对一的关系
 * 用户详细表和会员级别表的关系  多对一的关系
 */
public class CustomerInf {
    private Integer customer_inf_id;
    //用户登录对象
    private CustomerLogin customerLogin;
    private String customer_name;
    private Integer identity_card_type;
    private String  identity_card_no;
    private String mobile_phone;
    private String customer_email;
    private String gender;
    private Integer user_point;
    //数据库日期和Java日期算法有区别   数据库中的日期字段使用字符串
    private String register_time;
    private String birthday;
    private CustomerLevelInf customerLevelInf;
    //精确小数类型
    private BigDecimal user_money;
    private String modified_time;


    @Override
    public String toString() {
        return "CustomerInf{" +
                "customer_inf_id=" + customer_inf_id +
                ", customerLogin=" + customerLogin +
                ", customer_name='" + customer_name + '\'' +
                ", identity_card_type=" + identity_card_type +
                ", identity_card_no='" + identity_card_no + '\'' +
                ", mobile_phone='" + mobile_phone + '\'' +
                ", customer_email='" + customer_email + '\'' +
                ", gender='" + gender + '\'' +
                ", user_point=" + user_point +
                ", register_time='" + register_time + '\'' +
                ", birthday='" + birthday + '\'' +
                ", customerLevelInf=" + customerLevelInf +
                ", user_money=" + user_money +
                ", modified_time='" + modified_time + '\'' +
                '}';
    }

    public Integer getCustomer_inf_id() {
        return customer_inf_id;
    }

    public void setCustomer_inf_id(Integer customer_inf_id) {
        this.customer_inf_id = customer_inf_id;
    }

    public CustomerLogin getCustomerLogin() {
        return customerLogin;
    }

    public void setCustomerLogin(CustomerLogin customerLogin) {
        this.customerLogin = customerLogin;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public Integer getIdentity_card_type() {
        return identity_card_type;
    }

    public void setIdentity_card_type(Integer identity_card_type) {
        this.identity_card_type = identity_card_type;
    }

    public String getIdentity_card_no() {
        return identity_card_no;
    }

    public void setIdentity_card_no(String identity_card_no) {
        this.identity_card_no = identity_card_no;
    }

    public String getMobile_phone() {
        return mobile_phone;
    }

    public void setMobile_phone(String mobile_phone) {
        this.mobile_phone = mobile_phone;
    }

    public String getCustomer_email() {
        return customer_email;
    }

    public void setCustomer_email(String customer_email) {
        this.customer_email = customer_email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getUser_point() {
        return user_point;
    }

    public void setUser_point(Integer user_point) {
        this.user_point = user_point;
    }

    public String getRegister_time() {
        return register_time;
    }

    public void setRegister_time(String register_time) {
        this.register_time = register_time;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public CustomerLevelInf getCustomerLevelInf() {
        return customerLevelInf;
    }

    public void setCustomerLevelInf(CustomerLevelInf customerLevelInf) {
        this.customerLevelInf = customerLevelInf;
    }

    public BigDecimal getUser_money() {
        return user_money;
    }

    public void setUser_money(BigDecimal user_money) {
        this.user_money = user_money;
    }

    public String getModified_time() {
        return modified_time;
    }

    public void setModified_time(String modified_time) {
        this.modified_time = modified_time;
    }
}
